home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Guided Tour of Multimedia (Second Edition)
/
The Guided Tour of Multimedia (Second Edition).iso
/
trials
/
director
/
evalcopy
/
director.z
/
NAVIGATR.DIR
/
00463_Field_463.txt
< prev
next >
Wrap
Text File
|
1994-06-14
|
636b
|
23 lines
MECH , 77
--=================================================================
-- The handler manages the gear list. As we add gears to the
-- list we increment the nGears property var. If we reach the max
-- we no longer allow gears to be added to the list and the handler
-- returns FALSE. If a gear is added to the list TRUE is returned.
on mAddToGearList me,thisPart
if nGears <= maxGears then
if objectP (thisPart) then
set nGears = nGears + 1
setAt(gearList,nGears,thisPart)
return TRUE
else
return FALSE
end if
else
return FALSE
end if
end mAddToGearList